#include "stdafx.h"
#include "tools.h"

//---------------------------------------------------------------------------
DWORD tools::get_processors_count(void)
{
	SYSTEM_INFO si = { 0 };
	::GetSystemInfo(&si);

	return si.dwNumberOfProcessors;
}
//---------------------------------------------------------------------------